<template>
	<view class="perfectInfo">
		<view class="title">
			为了您的账号安全，请填写真实的个人资料
		</view>
		<view class="perfectInfo-box">
			<view class="user-name">
				<text style="color: #333333;font-size:32rpx;width: 170rpx;">姓名</text><input type="text" value="" placeholder="请输入真实姓名"/>
			</view>
			<view class="user-name">
				<text style="color: #333333;font-size:32rpx;width: 170rpx;">证件号码</text><input type="text" value="" placeholder="请输入证件号码"/>
			</view>
		</view>
		<view class="address" @click="fillAddress">
			<text>去填写收获地址</text>
			<image src="../../static/youjiantou1.png" mode=""></image>
		</view>
		<view class="address-box">
			<view class="address-title">
				收货地址
			</view>
			<view class="top">
				<view class="address-left">
					<view class="address-left-top">
						<text class="name">小明</text>
						<text class="phone">123456789</text>
					</view>
					<view class="address-left-bottom">
						四川省 成都市 武侯区 石羊街道交子
						大道177号中海国际中心A座13楼1303
					</view>
				</view>
				<view class="address-right" @click="edit">
					<image src="../../static/mine/edit.png" mode=""></image>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			//填写修改地址
			fillAddress(){
				uni.navigateTo({
					url:'/myPackageA/mine/system/address/addAddress'
				})
			},
			//编辑地址
			edit(){
				uni.navigateTo({
					url:'/myPackageA/mine/system/address/editAddress'
				})
			},
		}
	}
</script>

<style scoped lang="less">
	.address-title{
		font-size: 36rpx;
		font-family: Source Han Sans CN;
		font-weight: 400;
		color: #333333;
	}
	.top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 20rpx;
	}
	.address-box {
		padding: 20rpx 40rpx;
		background-color: #FFFFFF;
		margin-bottom: 40rpx;
		border-radius: 20rpx;
		margin-top: 40rpx;
		.address-right {
			width: 68rpx;
			display: flex;
			justify-content: center;
			align-items: center;
	
			image {
				width: 26rpx;
				height: 25rpx;
			}
		}
	
		.address-left {
			flex: 1;
	
			.address-left-bottom {
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				line-height: 48rpx;
				color: #333333;
			}
	
			.address-left-top {
				display: flex;
				align-items: center;
	
				.name {
					font-size: 36rpx;
					font-family: Source Han Sans CN;
					font-weight: bold;
					color: #333333;
				}
	
				.phone {
					font-size: 32rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #999999;
					margin-left: 20rpx;
				}
			}
		}
	}
	
	
	.address{
		margin-top: 60rpx;
		width: 100%;
		height: auto;
		background: #FFFFFF;
		opacity: 1;
		border-radius: 20rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20rpx 15rpx;
		text{
			font-size: 36rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #333333;
		}
		image{
			width: 16rpx;
			height: 28rpx;
		}
	}
	/deep/.input-placeholder{
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
	}
.perfectInfo{
	padding: 40rpx;
	.title{
		font-size: 28rpx;
		font-family: Source Han Sans CN;
		font-weight: 400;
		color: #333333;
		margin-bottom: 20rpx;
		
	}
	.perfectInfo-box{
		width: 100%;
		height: auto;
		background: #FFFFFF;
		opacity: 1;
		border-radius: 20rpx;
		padding: 20rpx;
		.user-name{
			padding: 20rpx 0;
			border-bottom: 1px solid #F2F2F2;
			display: flex;
		}
	}
}
</style>
